package org.cheniy.infrastructure.persistent.dao;

import org.apache.ibatis.annotations.Mapper;
import org.cheniy.infrastructure.persistent.po.Task;

import java.util.List;

/**
 * @author cheniy
 * @description 任务表，发送MQ
 * @create 2025/3/19 13:51
 */
@Mapper
public interface ITaskDao {
    void updateTaskSendMessageCompleted(Task task);

    void updateTaskSendMessageFail(Task task);

    void insert(Task task);

    List<Task> queryNoSendMessageTaskList();
}
